// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//配置axios
import Axios from 'axios'
Axios.defaults.baseURL = "http://123.57.130.65:8080";
Vue.prototype.axios = Axios

//引入mint-ui
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'

Vue.use(MintUI)
import { MessageBox } from 'mint-ui';
//局部引入按钮样式
/* import { Button } from 'mint-ui';
Vue.component(Button.name, Button); */

//引入vant-ui
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
import store from "./tools/store"
import './tools/base.css'

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})